public class java20190918 {

	public static void main(String[] args) {
		int a=1;
		int sum;
		while(a<=9){
			int z=1;
			while(z<=a){
				sum=a*z;
				System.out.print(z+"*"+a+"="+sum+"  ");
				z++; 
				}
			a++;
		System.out.println();
		}
	}
}